package com.ruoyi.monitor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备维修记录对象 monitor_maintenance_record
 * 
 * @author lh
 * @date 2025-04-16
 */
public class MonitorMaintenanceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer recordId;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Integer deviceId;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String faultDescription;

    /** 维修完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repairTime;

    /** 维修人员 */
    @Excel(name = "维修人员")
    private String technician;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setRecordId(Integer recordId) 
    {
        this.recordId = recordId;
    }

    public Integer getRecordId() 
    {
        return recordId;
    }

    public void setDeviceId(Integer deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Integer getDeviceId() 
    {
        return deviceId;
    }

    public void setFaultDescription(String faultDescription) 
    {
        this.faultDescription = faultDescription;
    }

    public String getFaultDescription() 
    {
        return faultDescription;
    }

    public void setRepairTime(Date repairTime) 
    {
        this.repairTime = repairTime;
    }

    public Date getRepairTime() 
    {
        return repairTime;
    }

    public void setTechnician(String technician) 
    {
        this.technician = technician;
    }

    public String getTechnician() 
    {
        return technician;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("deviceId", getDeviceId())
            .append("faultDescription", getFaultDescription())
            .append("repairTime", getRepairTime())
            .append("technician", getTechnician())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
